﻿Public Class main

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim d As New Drucken_Klasse
        d.clear()
        d.überschrift = ("Test Seite")
        d.abstand = 50
        d.add("Text 1", "text 2")
        d.add("Text 3", "text 4")
        d.add("-----", "------")
        d.add("Text 1", "text 2")
        d.add("Text 3", "text 4")
        d.add("-----", "------")
        d.drucken()

    End Sub
End Class